  #include "jni.h"
  #include "JniDipIntegration.h"

  extern "C" /* specify the C calling convention */  

JNIEXPORT jobjectArray JNICALL Java_ar_edu_utn_frba_gdaia_src_action_c_JniDipIntegration_getDipResults
  (JNIEnv *env, jobject jobj){
    jobjectArray ret;
    int i;

    /** La cantidad de figuras(conceptos) en la imagen */
    int numFiguras = 3;

    char *message[3]= {"50, 30, 15, 47, 58.54"/*Area, Perimetro, BaricentroX, BaricentroY, FormFactor*/, 
                            	"51, 31, 16, 48, 58.55", 
                            	"52, 32, 17, 49, 58.56"};

    ret= (jobjectArray)env->NewObjectArray(numFiguras,
         env->FindClass("java/lang/String"),
         env->NewStringUTF(""));

    for(i=0;i<numFiguras;i++) {
        env->SetObjectArrayElement(
		ret,i,env->NewStringUTF(message[i]));
    }
    return(ret);
  }
 
